" ==============================================================================
" MAIN SETTINGS

" Visual {{{
colorscheme molokai
syntax on
set nu rnu	" show relative and absolute line number
set cursorline " highlight line with cursor
set colorcolumn=80 " show column on Nth place
set hlsearch " highlight search results
set wildmenu " show bottom menu
set hlsearch " highlight search results
set wrap " visually wrap lines
set laststatus=2 " always show status bar
set list " show non-visible characters
set listchars=tab:\ \ \|,trail:-,eol:<
"}}}

" Behaviour {{{
set tabstop=4 shiftwidth=4 " set width of tab
set foldmethod=marker " fold code on marker
set foldenable " enable code folding
set incsearch " change search method to more modern one
set smartcase " search case sensitive if specified
set nobackup " disable creation of backup files
set nowb " disable creation of backup files
set noswapfile " disable creation of swap files
set ai si " enable code indenting
set scrolloff=8 " sroll file on Nth row from the end
" }}}

" Performance {{{
set lazyredraw " don't re-render if not needed
" }}}

" Security {{{
set secure
" }}}

" ==============================================================================
" KEY MAPPING

" Movement {{{
" Easier movement on split window
nnoremap <C-l> <C-w>l
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
" }}}
